<div class="row">
	<div class="col-lg-12">
		<div class="panel panel-default kotakwidget">
			<div class="panel-heading kepalakotakwidget">
				Pilih jenjang pendidikan sebelum mengatur tagihan non syahriyah
			</div>
				
				<div class="panel-body">
					<div class="row">
						<div class="col-md-12">
							<div id="contentJP">
							<table class="table table-condensed" id="jp">
							  <thead>
								<tr>
									<th>#</th>
									<th>Jenjang Pendidikan</th>
								</tr>
							  </thead>
							  <tbody>
								<?php 
									if(count($list)>0){
										$i = 1; 
										foreach ($list as $row) {
								?>
								<tr class="hover kursor">
									<td width="30"><?php echo $i++ ?></td>
									<td>
										<?php echo $row->j_pendidikan; ?>
										<a href="<?php echo site_url('a_non_sy/non_sy/'.$row->id_m_j_pendidikan);?>" class="pull-right btn btn-xs editorLink" title="Detail"><span class="glyphicon glyphicon-chevron-right"></span></a>
									</td> 
								</tr>
								<?php
										}
									}else{
								?>
								<tr>
									<td colspan="2"><center>Belum ada data master jenjang pendidikan</center></td>
								</tr>
								<?php
									}
								?>
							  </tbody>
							</table>
							</div>
						</div>
					</div>
				</div>
		</div>
	</div>	
</div>
<!-- /#page-wrapper -->
<script>
$("tr").click(function() {
  window.location.href = $(this).find("a").attr("href");
});
</script>